package com.yzh.domain;

import java.util.Date;

public class StudentDetail {
    private int sid;
    private String sname;
    private String ssex;
    private Date birthday;
    private String address;
    private String love;

    public StudentDetail() {
    }

    public StudentDetail(int sid, String sname, String ssex, Date birthday, String address, String love) {
        this.sid = sid;
        this.sname = sname;
        this.ssex = ssex;
        this.birthday = birthday;
        this.address = address;
        this.love = love;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSsex() {
        return ssex;
    }

    public void setSsex(String ssex) {
        this.ssex = ssex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLove() {
        return love;
    }

    public void setLove(String love) {
        this.love = love;
    }

    @Override
    public String toString() {
        return "StudentDetail{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                ", ssex='" + ssex + '\'' +
                ", birthday=" + birthday +
                ", address='" + address + '\'' +
                ", love='" + love + '\'' +
                '}';
    }
}
